﻿<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
	<Module Name="MilestoneDispForm" Url="$Resources:core,lists_Folder;/Milestones" Path="" xmlns="http://schemas.microsoft.com/sharepoint/">
    <File Url="DispForm.aspx">
      <AllUsersWebPart WebPartZoneID="Main" WebPartOrder="2">
        <![CDATA[<webParts>
	<webPart xmlns="http://schemas.microsoft.com/WebPart/v3">
		<metaData>
			<type name="Microsoft.SharePoint.WebPartPages.DataFormWebPart, Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" />
			<importErrorMessage>Cannot import this Web Part.</importErrorMessage>
		</metaData>
		<data>
			<properties>
				<property name="MissingAssembly" type="string">Cannot import this Web Part.</property>
				<property name="FireInitialRow" type="bool">True</property>
				<property name="TitleIconImageUrl" type="string" />
				<property name="HelpMode" type="helpmode">Modeless</property>
				<property name="CacheXslStorage" type="bool">True</property>
				<property name="ViewContentTypeId" type="string" />
				<property name="Description" type="string" />
				<property name="DataSourcesString" type="string">&lt;%@ Register TagPrefix="cc1" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %&gt;&lt;%@ Register TagPrefix="cc2" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %&gt;&lt;cc1:SPDataSource runat="server" SelectCommand="&amp;lt;View&amp;gt;&amp;lt;Query&amp;gt;&amp;lt;Where&amp;gt;&amp;lt;Eq&amp;gt;&amp;lt;FieldRef Name='Milestone' Type='Integer' LookupId='True'&amp;gt;&amp;lt;/FieldRef&amp;gt;&amp;lt;Value Type='Integer'&amp;gt;{0}&amp;lt;/Value&amp;gt;&amp;lt;/Eq&amp;gt;&amp;lt;/Where&amp;gt;&amp;lt;/Query&amp;gt;&amp;lt;/View&amp;gt;" UseInternalName="True" InsertCommand="" UpdateCommand="" DataSourceMode="List" ID="Project_x0020_Tasks1" DeleteCommand=""&gt;&lt;SelectParameters&gt;
&lt;cc2:DataFormParameter PropertyName="ParameterValues" ParameterKey="ListID" DefaultValue="%TSATOK:ListId($Resources:proj,ProjectTasks_List_Title;)%" Name="ListID"&gt;&lt;/cc2:DataFormParameter&gt;
&lt;asp:QueryStringParameter Name="0" QueryStringField="ID"&gt;&lt;/asp:QueryStringParameter&gt;
&lt;/SelectParameters&gt;
&lt;/cc1:SPDataSource&gt;
</property>
				<property name="AllowZoneChange" type="bool">True</property>
				<property name="ParameterBindings" type="string">
	&lt;ParameterBinding Name="ListID" Location="None" DefaultValue="%TSATOK:ListId($Resources:proj,ProjectTasks_List_Title;)%"/&gt;
	&lt;ParameterBinding Name="dvt_apos" Location="Postback;Connection"/&gt;
	&lt;ParameterBinding Name="UserID" Location="CAMLVariable" DefaultValue="CurrentUserName"/&gt;
	&lt;ParameterBinding Name="Today" Location="CAMLVariable" DefaultValue="CurrentDate"/&gt;
	&lt;ParameterBinding Name="StartPosition" Location="Postback" DefaultValue=""/&gt;
  &lt;ParameterBinding Name="MilestoneID" Location="QueryString(ID)"/&gt;
</property>
				<property name="PageSize" type="int">-1</property>
				<property name="TitleUrl" type="string" />
				<property name="ViewFlag" type="string">0</property>
				<property name="Xsl" type="string">
&lt;xsl:stylesheet xmlns:x="http://www.w3.org/2001/XMLSchema" xmlns:d="http://schemas.microsoft.com/sharepoint/dsp" version="1.0" exclude-result-prefixes="xsl msxsl ddwrt" xmlns:ddwrt="http://schemas.microsoft.com/WebParts/v2/DataView/runtime" xmlns:asp="http://schemas.microsoft.com/ASPNET/20" xmlns:__designer="http://schemas.microsoft.com/WebParts/v2/DataView/designer" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:WebControls="Microsoft.SharePoint.WebControls" xmlns:ddwrt2="urn:frontpage:internal"&gt;
	&lt;xsl:output method="html" indent="no"/&gt;
	&lt;xsl:param name="dvt_apos"&gt;&amp;apos;&lt;/xsl:param&gt;
  &lt;xsl:param name="MilestoneID"&gt;&lt;/xsl:param&gt;
	&lt;xsl:variable name="dvt_1_automode"&gt;0&lt;/xsl:variable&gt;
	&lt;xsl:template match="/" xmlns:x="http://www.w3.org/2001/XMLSchema" xmlns:d="http://schemas.microsoft.com/sharepoint/dsp" xmlns:asp="http://schemas.microsoft.com/ASPNET/20" xmlns:__designer="http://schemas.microsoft.com/WebParts/v2/DataView/designer" xmlns:WebControls="Microsoft.SharePoint.WebControls"&gt;
		&lt;xsl:call-template name="dvt_1"/&gt;
	&lt;/xsl:template&gt;
	&lt;xsl:template name="dvt_1"&gt;
		&lt;xsl:param name="ParentPath"/&gt;
		&lt;xsl:variable name="dvt_StyleName"&gt;Table&lt;/xsl:variable&gt;
		&lt;xsl:variable name="Rows" select="/dsQueryResponse/Rows/Row"/&gt;
		&lt;xsl:variable name="dvt_RowCount" select="count($Rows)" /&gt;
		&lt;xsl:variable name="IsEmpty" select="$dvt_RowCount = 0" /&gt;
    &lt;SCRIPT type="text/javascript"&gt;
        function GetSource(defaultSource)
        {
            return escapeProperly(STSPageUrlValidation(window.location.href));
        }
    &lt;/SCRIPT&gt;
    &lt;table border="0" width="100%" cellpadding="2" cellspacing="0"&gt;
			&lt;tr valign="top"&gt;
				&lt;xsl:if test="$dvt_1_automode = '1'" ddwrt:cf_ignore="1"&gt;
					&lt;th class="ms-vh" width="1" nowrap="nowrap"&gt;&lt;/th&gt;
				&lt;/xsl:if&gt;
        &lt;th class="ms-vh" nowrap=""&gt;$Resources:proj,dfwpTitle;&lt;/th&gt;
        &lt;th class="ms-vh" nowrap=""&gt;$Resources:proj,dfwpPriority;&lt;/th&gt;
        &lt;th class="ms-vh" nowrap=""&gt;$Resources:proj,dfwpTask_Status;&lt;/th&gt;
        &lt;th class="ms-vh" nowrap=""&gt;$Resources:proj,dfwpAssigned_To;&lt;/th&gt;
			&lt;/tr&gt;
			&lt;xsl:call-template name="dvt_1.body"&gt;
				&lt;xsl:with-param name="ParentPath" select="$ParentPath"/&gt;
				&lt;xsl:with-param name="Rows" select="$Rows"/&gt;
				&lt;/xsl:call-template&gt;
      &lt;tr valign="top"&gt;
			&lt;td colspan="99" class="ms-vh"&gt;
      &lt;a href="../ProjectTasks/NewForm.aspx?MilestoneID={$MilestoneID}" onclick="javascript:this.href = unescapeProperly(escape(this.href)); GoToLink(this); return false;" target="_self"&gt;$Resources:proj,Create_Task;&lt;/a&gt;
      &lt;/td&gt;
      &lt;/tr&gt;
			&lt;/table&gt;
	&lt;/xsl:template&gt;
	&lt;xsl:template name="dvt_1.body"&gt;
		&lt;xsl:param name="ParentPath"/&gt;
		&lt;xsl:param name="Rows"/&gt;
		&lt;xsl:for-each select="$Rows"&gt;
					&lt;xsl:variable name="SrcPos" select="count(preceding-sibling::*[local-name()=local-name(current()) and namespace-uri()=namespace-uri(current())])+1" /&gt;
					&lt;xsl:call-template name="dvt_1.rowview"&gt;
						&lt;xsl:with-param name="ParentPath" select="$ParentPath" /&gt;
						&lt;xsl:with-param name="SrcPos" select="$SrcPos" /&gt;
					&lt;/xsl:call-template&gt;&lt;/xsl:for-each&gt;
	&lt;/xsl:template&gt;
	&lt;xsl:template name="dvt_1.rowview"&gt;
		&lt;xsl:param name="ParentPath"/&gt;
		&lt;xsl:param name="SrcPos"/&gt;
		&lt;tr&gt;
			&lt;xsl:if test="position() mod 2 = 0" ddwrt:cf_ignore="1"&gt;
				&lt;xsl:attribute name="class"&gt;ms-alternating&lt;/xsl:attribute&gt;
			&lt;/xsl:if&gt;
			&lt;xsl:if test="$dvt_1_automode = '1'" ddwrt:cf_ignore="1"&gt;
				&lt;td class="ms-vb" width="1" nowrap="nowrap"&gt;
					&lt;span ddwrt:amkeyfield="ID" ddwrt:amkeyvalue="ddwrt:EscapeDelims(string(@ID))" ddwrt:ammode="view"/&gt;
				&lt;/td&gt;
			&lt;/xsl:if&gt;
			&lt;td class="ms-vb"&gt;
				&lt;a href="../ProjectTasks/DispForm.aspx?ID={@ID}" onclick="javascript:this.href = unescapeProperly(escape(this.href)); GoToLink(this); return false;" target="_self"&gt;&lt;xsl:value-of select="@Title" /&gt;&lt;/a&gt;
			&lt;/td&gt;
			&lt;td class="ms-vb"&gt;
				&lt;xsl:value-of select="@Priority"/&gt;
			&lt;/td&gt;
			&lt;td class="ms-vb"&gt;
				&lt;xsl:value-of select="@Status"/&gt;
			&lt;/td&gt;
			&lt;td class="ms-vb"&gt;
				&lt;xsl:value-of select="@AssignedTo" disable-output-escaping="yes"/&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
	&lt;/xsl:template&gt;
&lt;/xsl:stylesheet&gt;	</property>
				<property name="NoDefaultStyle" type="string">TRUE</property>
				<property name="Direction" type="direction">NotSet</property>
				<property name="UseSQLDataSourcePaging" type="bool">True</property>
				<property name="ListName" type="string" >%TSATOK:ListId($Resources:proj,ProjectTasks_List_Title;)%</property>
				<property name="Hidden" type="bool">False</property>
				<property name="DisplayName" type="string">Project Tasks</property>
				<property name="SampleData" type="string" null="true" />
				<property name="HelpUrl" type="string" />
				<property name="ChromeType" type="chrometype">TitleAndBorder</property>
				<property name="CatalogIconImageUrl" type="string" />
				<property name="Height" type="string" />
				<property name="DataFields" type="string">@Title,Title;@Priority,Priority;@Status,Status;@PercentComplete,% Complete;@AssignedTo,Assigned To;@Body,Description;@StartDate,Start Date;@DueDate,Due Date;@Cost,Cost;@CostDays,Cost in Days;@Project,Project;@ID,ID;@ContentType,Content Type;@Modified,Modified;@Created,Created;@Author,Created By;@Editor,Modified By;@_UIVersionString,Version;@Attachments,Attachments;@File_x0020_Type,File Type;@FileLeafRef,Name (for use in forms);@FileDirRef,Path;@FSObjType,Item Type;@_HasCopyDestinations,Has Copy Destinations;@_CopySource,Copy Source;@ContentTypeId,Content Type ID;@_ModerationStatus,Approval Status;@_UIVersion,UI Version;@Created_x0020_Date,Created;@FileRef,URL Path;</property>
				<property name="Default" type="string">FALSE</property>
				<property name="ChromeState" type="chromestate">Normal</property>
				<property name="DataSourceID" type="string" />
				<property name="AllowClose" type="bool">True</property>
				<property name="CacheXslTimeOut" type="int">86400</property>
				<property name="AllowMinimize" type="bool">True</property>
				<property name="AllowEdit" type="bool">True</property>
				<property name="XslLink" type="string" null="true" />
				<property name="Title" type="string">$Resources:proj,Related_Tasks;</property>
				<property name="Width" type="string" />
				<property name="ShowWithSampleData" type="bool">False</property>
				<property name="ExportMode" type="exportmode">All</property>
				<property name="AllowHide" type="bool">True</property>
				<property name="AllowConnect" type="bool">True</property>
			</properties>
		</data>
	</webPart>
</webParts> ]]>
      </AllUsersWebPart>
    </File>
  </Module>
</Elements>